<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="common.js"></script>

</head>
<body>
    <!--<div>jijjjllhlhh</div>-->
    <input type="checkbox">
    <input type="checkbox">
    <input type="checkbox">
    <br>
    <button id="qx">全选</button>
    <button id="qbx">全不选</button>
    <button id="fx">反选</button>
</body>
<script>
    var checkbox = tagName('input');
    var qx = id('qx');
    var qbx = id('qbx');
    var fx = id('fx');


    // var arr = [0,1,2,3,4,5,6,7,8,9,"a","b","c","d","e","f"];
    // var sixteen = '#';
    // for (var i = 0; i < 6; i++) {
    //     var num = Math.floor(Math.random()*16);
    //     var value = arr[num];
    //     sixteen += value;
    // }
    // console.log(sixteen);
    // function setText(ele) {
    //     if (ele.textContent == undefined) {
    //         return ele.innerText;
    //     } else {
    //         return ele.textContent;
    //     }
    // }
    //
    // console.log(setText("div"));

</script>
</html>